﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using aier.dataaccess.dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aier.dataaccess.dapper
{
    [TestClass()]
    public class StreetDalUT
    {
        private StreetDal streetDal = null;

        [TestInitialize]
        public void Init()
        {
            streetDal = new StreetDal();
            streetDal.dapperHelper = new DapperHelper();
        }


        [TestMethod()]
        public void GetPCAByNameUT()
        {
            var streetobj = streetDal.GetPCAByName("湖南省", "长沙市", "天心区");
            Console.WriteLine(streetobj.Item1);
        }
    }
}